#include "AcLogicControlStruct.h"

AcLogicControlStruct::AcLogicControlStruct()
{
    m_isOpen = false;
    m_curTempAddress = 0;
    m_setTempAddress = 0;
    m_errorRange = 1;
}
bool AcLogicControlStruct::isOpen() const
{
    return m_isOpen;
}

void AcLogicControlStruct::setIsOpen(bool isOpen)
{
    m_isOpen = isOpen;
}
quint16 AcLogicControlStruct::curTempAddress() const
{
    return m_curTempAddress;
}

void AcLogicControlStruct::setCurTempAddress(const quint16 &curTempAddress)
{
    m_curTempAddress = curTempAddress;
}
QString AcLogicControlStruct::curMode() const
{
    return m_curMode;
}

void AcLogicControlStruct::setCurMode(const QString &curMode)
{
    m_curMode = curMode;
}
ControlPointStruct AcLogicControlStruct::closePoint() const
{
    return m_closePoint;
}

void AcLogicControlStruct::setClosePoint(const ControlPointStruct &closePoint)
{
    m_closePoint = closePoint;
}
ControlPointStruct AcLogicControlStruct::openPoint() const
{
    return m_openPoint;
}

void AcLogicControlStruct::setOpenPoint(const ControlPointStruct &openPoint)
{
    m_openPoint = openPoint;
}


quint16 AcLogicControlStruct::setTempAddress() const
{
    return m_setTempAddress;
}

void AcLogicControlStruct::setSetTempAddress(const quint16 &setTempAddress)
{
    m_setTempAddress = setTempAddress;
}


quint16 AcLogicControlStruct::errorRange() const
{
    return m_errorRange;
}

void AcLogicControlStruct::setErrorRange(const quint16 &errorRange)
{
    m_errorRange = errorRange;
}

QList<ModeStruct> AcLogicControlStruct::modeList() const
{
    return m_modeList;
}

void AcLogicControlStruct::setModeList(const QList<ModeStruct> &modeList)
{
    m_modeList = modeList;
}

quint16 AcLogicControlStruct::setTempValue() const
{
    return m_setTempValue;
}

void AcLogicControlStruct::setSetTempValue(const quint16 &setTempValue)
{
    m_setTempValue = setTempValue;
}










